package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IReservationService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Author: Dearsil
 * @Date: 2024/11/15 9:37
 * @Version: 1.0
 * @Description: Hello Description!
 */
@Component("updateReservationStatusTask")
@Slf4j
public class UpdateReservationStatusTask {
    @Autowired
    private IReservationService reservationService;

    public void updateReservationStatus(){
        reservationService.updateReservationStatus();
    }
}
